package com.lc.soft.dao;

import com.lc.soft.entity.CommonParameter;
import com.lc.soft.entity.OrganizationEntity;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface IOrganizationDao {

    int create(OrganizationEntity organizationEntity);

    int update(OrganizationEntity organizationEntity);

    int updateState(OrganizationEntity organizationEntity);

    List<OrganizationEntity> findOrganizationListByCondition(CommonParameter commonParameter);

    List<OrganizationEntity> findPagedOrganizationListByCondition(CommonParameter commonParameter);

    int findAmountByCondition(CommonParameter commonParameter);
}
